package com.dao;

import com.entity.RbacManagerPerm;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface RbacManagerPermDao {

    List<RbacManagerPerm> findAll();

    void addManagerPerm(RbacManagerPerm managerPerm);

    void delManagerPerm(RbacManagerPerm managerPerm);

    void upData(@Param("managerPerm") RbacManagerPerm managerPerm, @Param("omi") int oldManager_id, @Param("opi") int oldPerm_id);

}
